import request from '@/utils/request';

// 结算单
export default {
  //根据选货单id获取所有该单详细信息
  findAll (psId) {
    // alert(psId)
    return request({
      url: `/sale/amount/findPackingMsgByPsId/${psId}`,
      method: 'get'
    })
  },
  //根据选货信息单ID及所选商品id修改状态
  updateStatus (totalids) {
    alert(JSON.stringify(totalids));
    return request({
      url: `/sale/amount/update`,
      method: 'post',
      data: totalids
    })
  }

}
